Full-Stack

Welcome Portfolio Projects Contact
↑ Go Back ↑

GPU passthrough (VFIO permanent)

GPU passthrough (VFIO permanent)

https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#Isolating_the_GPU

This setup disabled a certain GPU which can be used for PCIe/GPU passthrough in QEMU.

Modprobe vfio config

nano /etc/modprobe.d/vfio.conf:

softdep nvidia pre: vfio-pci
options vfio-pci ids=10de:1e07,10de:10f7,10de:1ad6,10de:1ad7

Dracut vfio config

sudo nano /etc/dracut.conf.d/10-vfio.conf

force_drivers+=" vfio_pci vfio vfio_iommu_type1 "

Dracut rebuild

sudo dracut-rebuild